//
//  CustomOperation.m
//  03-nsoperationqueue基本使用
//
//  Created by J on 16/2/24.
//  Copyright © 2016年 J. All rights reserved.
//

#import "CustomOperation.h"

@implementation CustomOperation
//需要执行的任务封装到这里面 不是main函数
- (void)main{//This method will automatically execute within an autorelease pool provided by NSOperation, so you do not need to create your own autorelease
    NSLog(@"main:%@",[NSThread currentThread]);

    NSLog(@"下载图片");
    
}
@end
